<cfcomponent output="false">
	
	<cffunction name="fGet" returntype="query" access="public">
		<cfargument name="sEmail" required="false">
		<cfargument name="sMotDePasse" required="false">
		<cfargument name="sOrdre" required="false">
		
		<cfquery name="rsRecupUsers" datasource="#application.sNomDSN#">
			SELECT *
			FROM p_users
			WHERE 1 = 1
			<cfif isdefined("arguments.sEmail")>
				AND user_email = '#arguments.sEmail#'
			</cfif>
			
			<cfif isdefined("arguments.sMotDePasse")>
				AND user_mdp = '#arguments.sMotDePasse#'
			</cfif>
			
			<cfif isdefined("arguments.sOrdre")>
				ORDER BY #arguments.sOrdre#
			</cfif>
		</cfquery>
		
		<cfreturn rsRecupUsers>
	</cffunction>
	
	
</cfcomponent>